home *** CD-ROM | disk | FTP | other *** search
-
- ObjectFiles = \
- o.ReadToD \
- o.SkipBlanks \
-
-
- LibName = TextFile
-
-
-
- # Template makefile to make all .o files
- # for a DeskLib sublibrary. Compilation
- # is for static linking inside a DLL.
-
- # The macro $(ObjectFiles) should be set at the
- # start of this file, to be a space-separated
- # list of object files.
- # This is done by 'Makatic'.
-
- # The macro $(LibName) should also be set at the
- # start of this file, to be the name of the
- # DeskLib sublibrary.
- #
-
- # Compiler flags, These can be anything.
- # All essential flags (eg CC -zM
- # are included in the macro $(CC).
- #
- CCFlags = -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
- ASMFlags = -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
-
- CC = cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
- ASM = ObjAsm $(ASMFlags)
-
-
- # -------------------------------------------------------
- # Everything below here should probably not be changed...
- # -------------------------------------------------------
-
- # Here's what we want to make...
- #
- All: $(ObjectFiles)
-
-
- # Rule for compiling C source code for a Straylight dynamically-linked library.
-
- VPATH = @.^
-
- .SUFFIXES: .o .c .s
-
- .c.o:
- $(CC) -o $@ $<
-
- .s.o:
- $(ASM) $(ASMFlags) -from $< -to $@
-
-
-
- # Dynamic dependencies:
- o.ReadToD: ^.c.ReadToD
- o.ReadToD: C:h.stdio
- o.ReadToD: DeskLib:h.Core
- o.ReadToD: C:h.stddef
- o.ReadToD: C:DLLLib.h.dll
- o.ReadToD: C:h.kernel
- o.ReadToD: DeskLib:h.TextFile
- o.ReadToD: C:h.stdio
- o.SkipBlanks: ^.c.SkipBlanks
- o.SkipBlanks: C:h.stdio
- o.SkipBlanks: DeskLib:h.Core
- o.SkipBlanks: C:h.stddef
- o.SkipBlanks: C:DLLLib.h.dll
- o.SkipBlanks: C:h.kernel
- o.SkipBlanks: DeskLib:h.TextFile
- o.SkipBlanks: C:h.stdio
-